

import request from '@/utils/request'

// 调查评测列表
export const listDataQuestionnaireAnswerRecord = (query) => {
    return request({
      url: '/edu/app/dataQuestionnaire/list',
      method: 'get',
      params: query
    });
  };
/**
 * 提交问卷填写记录
 * @param data
 */
export const submitDataQuestionnaireAnswerRecord = (data) => {
  return request({
    url: '/edu/app/dataQuestionnaire',
    method: 'post',
    data: data
  });
};
/**
 * 查看问卷填写详情
 * @param data
 */
export const getUserAnswerRecordDetail =  (query) => {
  return request({
    url: `/edu/app/dataQuestionnaire/getUserAnswerDetail`,
    method: 'get',
    params: query
  });
};